package com.feicheng.lanniao.service;

import com.feicheng.lanniao.entity.Client;
import com.feicheng.lanniao.entity.Person;
import com.feicheng.lanniao.result.ResultInfo;
import com.tencentcloudapi.scf.v20180416.models.PublicNetConfigIn;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author feichengTech
 * @since 2021-09-02
 */
public interface IClientService extends IService<Client> {
	/**
	 * 添加一条数据
	 * @param client 客户信息对象
	 * @return boolean值
	 */
	public ResultInfo addclienInfo(Client client);
	
	/**
	 * 修改delete_Flag达到假删除
	 * @param clientId 客户账号id
	 * @return boolean值
	 */
	public ResultInfo deleteClient(Integer clientId);	
	
	/**
	 * 修改一条客户信息
	 * @param client 客户对象
	 * @return boolean值
	 */
	public ResultInfo updateClient(Client client);
	
	/**
	 * 根据id查询信息
	 * @param clientId 客户id
	 * @return map集合
	 */
	ResultInfo selectOne(Integer clientId);
	
	/**
	 * 客户登录
	 * @param client 客户对象
	 * @return boolean值
	 */
	public ResultInfo login(Client client);
	
	/**
	 * 客户注册
	 * @param client 客户对象
	 * @return boolean值
	 */
	public ResultInfo register(Client client);
}

	